//
//  PhysicSystem.h
//  Project 5
//
//  Created by Nguyen Tan Loc on 6/17/13.
//  Copyright (c) 2013 Nguyen Tan Loc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PhysicBody.h"

typedef enum {
    TYPE_PHYSIC_OBJECT_CIRCLE,
    TYPE_PHYSIC_OBJECT_BULLET,
} PhysicObjectType;

@interface PhysicSystem : NSObject
{
    NSMutableArray *mListObjectCircle;
    NSMutableArray *mListObjectBullet;
}

+(PhysicSystem *) sharedPhysicSystem;

-(void) addBodyToSystem:(PhysicBody *)body withType:(PhysicObjectType)type;
-(void) removeBodyFromSystem:(PhysicBody *)body;
-(void) removeAllBody;
-(void) update;

@end
